public class WuKong implements Role {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public  void  fight(){
        System.out.println("孙悟空正在与妖怪激战。");
    }
}
